const routool = require("./router/router");
// const Province = r => require.ensure([], () => r(require('@/components/Province.vue')), 'chunkname1')
// routool.init()

const index2 = r =>
  require.ensure([], () => r(require("./views/index2.vue")), "chunkname1");
const routers = [
  {
    path: "/",
    meta: {
      title: "首页"
    },
    component: resolve => require(["./views/index.vue"], resolve)
  },
  {
    path: "/index2",
    meta: {
      title: "测试页面2"
    },
    component: index2
  }
];

export default routers;
